package com.tomatozq.redis.configuration;

import com.tomatozq.redis.DemoApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

public class MyServletInitialize extends SpringBootServletInitializer{
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        System.out.println("---SpringBootServletInitializer build---");
        return builder.sources(DemoApplication.class);
    }
}
